package com.empire.module.member.controller.admin.transportationrecord.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 交通记录 Response VO")
@Data
@ExcelIgnoreUnannotated
public class TransportationRecordRespVO {

    @Schema(description = "交通数据id", requiredMode = Schema.RequiredMode.REQUIRED, example = "20632")
    @ExcelProperty("交通数据id")
    private Long id;

    @Schema(description = "创建时间")
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "人员id", requiredMode = Schema.RequiredMode.REQUIRED, example = "26488")
    @ExcelProperty("人员id")
    private Long personId;

    @Schema(description = "人员姓名", requiredMode = Schema.RequiredMode.REQUIRED, example = "26488")
    @ExcelProperty("人员姓名")
    private String personName;

    @Schema(description = "票号")
    @ExcelProperty("票号")
    private String ticketNumber;

    @Schema(description = "0-飞机 1-铁路 2-汽车", example = "1")
    @ExcelProperty("0-飞机 1-铁路 2-汽车")
    private Integer type;

    @Schema(description = "起点位置")
    @ExcelProperty("起点位置")
    private String startLocation;

    @Schema(description = "终点位置")
    @ExcelProperty("终点位置")
    private String endLocation;

    @Schema(description = "起点时间")
    @ExcelProperty("起点时间")
    private LocalDateTime startTime;

    @Schema(description = "到达时间")
    @ExcelProperty("到达时间")
    private LocalDateTime endTime;

    @Schema(description = "时长")
    @ExcelProperty("时长")
    private String duration;

    @Schema(description = "航班号/火车车次/汽车车次")
    @ExcelProperty("航班号/火车车次/汽车车次")
    private String transportationNumber;

    @Schema(description = "来源")
    @ExcelProperty("来源")
    private String source;

    @Schema(description = "乘坐人姓名", example = "芋艿")
    @ExcelProperty("乘坐人姓名")
    private String passengerName;

    @Schema(description = "乘坐人联系电话")
    @ExcelProperty("乘坐人联系电话")
    private String passengerPhone;

    @Schema(description = "座位号")
    @ExcelProperty("座位号")
    private String seatNumber;

    @Schema(description = "总价", example = "15480")
    @ExcelProperty("总价")
    private BigDecimal totalPrice;

    @Schema(description = "备注", example = "随便")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "已读标记，0:未读，1:已读", example = "2")
    @ExcelProperty("已读标记，0:未读，1:已读")
    private Boolean readStatus;

    @Schema(description = "开车时间")
    @ExcelProperty("开车时间")
    private LocalDateTime busstarttime;

    @Schema(description = "购票时间")
    @ExcelProperty("购票时间")
    private LocalDateTime operationtime;

    @Schema(description = "车牌号")
    @ExcelProperty("车牌号")
    private String carno;

    @Schema(description = "检票时间")
    @ExcelProperty("检票时间")
    private LocalDateTime checkintime;

}